import { createApp } from 'vue'
import App from './App.vue'
import './common/base.css';
import router from './router/index'
import 'element-plus/dist/index.css';
// import store from './store'
import * as elementIcons from '@element-plus/icons-vue'
// 导入Element Plus样式
// import 'element-plus/theme-chalk/el-icon.css';

const app = createApp(App)

// 注册所有图标组件
for (let iconName in elementIcons) {
  app.component(iconName, elementIcons[iconName])
}

app.use(router).mount('#app')